package com.ruoyi.common.utils;

import java.util.Date;

public class Test {

    public static void main(String[] args) {
        Date date = new Date();
        Long time = new Date().getTime();
        System.out.println(DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", date));
        Long settleTime = 30L * 60 * 1000;
        System.out.println(DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", new Date(time + settleTime)));
    }

}
